const People = require('./human');

class Man extends People {

  constructor(props) {
    super(props);
    this.name = 'Yadang';
    this.sex = 'male';
  }

  say() {
    console.log(`My name is ${this.name}, and I am a ${this.sex} of ${this.type}.`);
  }

}

module.exports = Man;
